package com.itheima.domain.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * 用户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private String id;
    /**邮箱*/
    private String email;
    /**姓名 不能重复,可为中文*/
    private String userName;
    /**密码 shiro MD5密码32位*/
    private String password;
    /**状态1启用0停用*/
    private Long state;
    /**性别*/
    private String gender;
    /**电话*/
    private String telephone;
    /**出生年月*/
    private Date birthday;
    /**入职时间*/
    private Date joinDate;
    /**部门ID*/
    private String deptId;

    /**所属部门*/
    private Dept dept;

}
